package com.csun.cmny.provider.dao;


import com.csun.cmny.provider.dto.DoctorWorkMedicalRecordDto;
import com.csun.cmny.provider.dto.DoctorWorkModifyMedicalRecordDto;
import com.csun.cmny.provider.pojo.ChongmingDoctorWorkMedicalRecord;
import com.csun.cmny.provider.vo.DoctorWorkMedicalRecordVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ChongmingDoctorWorkMedicalRecordMapper extends Mapper<ChongmingDoctorWorkMedicalRecord> {
    //查询病程记录
    List<DoctorWorkMedicalRecordVo> selectMedicalRecordListWithPage(DoctorWorkMedicalRecordDto doctorWorkMedicalRecordDto);

    //通过老人ID查询病案号
    //Long selectMedicalRecordNoByOldmanId(Long id);

    //修改病程记录
    int modifyMedicalRecord(DoctorWorkModifyMedicalRecordDto doctorWorkModifyMedicalRecordDto);

    //删除病程记录
    int deleteMedicalRecord(Long id);
}
